package com.lhjmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author longhaijin
 * @email 287245878@qq.com
 * @date 2021-03-11 10:39:52
 */
@Data
@TableName("order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 订单原价
	 */
	private BigDecimal price;
	/**
	 * 支付价格
	 */
	private BigDecimal payprice;
	/**
	 * 优惠价格
	 */
	private BigDecimal discountprice;
	/**
	 * 优惠券id
	 */
	private Integer ucid;
	/**
	 * 用户id
	 */
	private Integer uid;
	/**
	 * 
	 */
	private String productname;

}
